﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="gamexpert.Login" Theme="Black" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="login">
    <asp:Panel ID="panelLogin" runat="server" DefaultButton="Login1$LoginButton"> 
    <asp:Login ID="Login1" runat="server" Width="261px" onloggedin="Login1_LoggedIn">
        <LayoutTemplate>
            <table border="0" cellpadding="1" cellspacing="0" 
                style="border-collapse:collapse;">
                <tr>
                    <td>
                        <table border="0" cellpadding="0">
                            <tr>
                                <td align="left" colspan="2">
                                   <h2> Log In</h2></td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">&nbsp;&nbsp;&nbsp;&nbsp;User Name:</asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="UserName" runat="server" CssClass="text"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                        ControlToValidate="UserName" ErrorMessage="User Name is required." 
                                        ToolTip="User Name is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="Password" runat="server" CssClass="text" TextMode="Password"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                        ControlToValidate="Password" ErrorMessage="Password is required." 
                                        ToolTip="Password is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" class="remember">
                                    <asp:CheckBox ID="RememberMe" runat="server" Text="Remember me next time." />
                                </td>
                            </tr>
                            <tr>
                                <td align="center" colspan="2" style="color:Red;">
                                    <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" colspan="2">
                                    <asp:Button ID="LoginButton" runat="server" CommandName="Login" 
                                        CssClass="button" Text="Log In" ValidationGroup="Login1"  />
                                </td>
                            </tr>
                        </table>
                        <p class="createuser">
                            Forget password?
                            <asp:HyperLink ID="HyperLink1" NavigateUrl="~/ForgetPassword.aspx" runat="server">Click here.</asp:HyperLink>
                        </p>
                         <p class="createuser">
                            Not a member?
                            <asp:HyperLink ID="lnkCreateNewUser" NavigateUrl="~/CreateNewMember.aspx" runat="server">Create new account.</asp:HyperLink>
                        </p>
                    </td>
                </tr>
            </table>
        </LayoutTemplate>
    </asp:Login>
   
    </asp:Panel> 
</div>

</asp:Content>
